body,
div,
ol,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6,
p,
th,
td,
dl,
dd,
dt,
form,
iframe,
input,
textarea,
select,
label,
article,
aside,
footer,
header,
menu,
nav,
section,
time,
audio,
video,
input,
button {
    margin: 0;
    padding: 0;
}

article,
aside,
footer,
header,
hgroup,
nav,
section,
audio,
canvas,
video,
button {
    display: block;
}

ul,
li {
    list-style: none;
}

img {
    width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: #333333;
}

em,
i,
b {
    font-style: normal;
    font-weight: normal;
}

a:link {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

input,
textarea,
button {
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    outline: none;
    border: 0;
    font-family: "微软雅黑";
}

.vis-label {
    display: inline-block;
    min-width: 50px;
}

#mynetwork {
    position: relative;
    width: 7.5rem;
    height: 13.34rem;
}

#network-popUp {
    position: absolute;
    display: none;
    left: 50%;
    top: 50%;
    margin: -60px 0 0 -125px;
    z-index: 299;
    width: 250px;
    height: 120px;
    background-color: #f9f9f9;
    border-style: solid;
    border-width: 3px;
    border-color: #5394ed;
    padding: 10px;
    text-align: center;
}

table.legend_table {
    font-size: 11px;
    border-width: 1px;
    border-color: #d3d3d3;
    border-style: solid;
}

table.legend_table,
td {
    border-width: 1px;
    border-color: #d3d3d3;
    border-style: solid;
    padding: 2px;
}

div.table_content {
    width: 80px;
    text-align: center;
}

div.table_description {
    width: 100px;
}

#operation {
    font-size: 28px;
}

/* 修改连线信息 */
#edge-popUp {
    display: none;
    box-sizing: border-box;
    background: #fff;
    width: 5.6rem;
    height: 2.9rem;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -1.45rem 0 0 -2.8rem;
    padding: .5rem .5rem 0 .5rem;
    border-radius: .16rem;
    overflow: hidden;
    font-size: initial;
}

#edge-operation {
    height: .42rem;
    font-size: .3rem;
    color: #000000
}

#edge-operation::-webkit-input-placeholder {
    color: #888888;
}

/* 魅力值样式 */
.charmValueBox {
    margin-top: .3rem;
    overflow: hidden;
}

.charmValueBox span {
    float: left;
    font-size: .3rem;
}

.charmValueBox .charmValue {
    overflow: hidden;
    float: left;
    margin-left: 2.18rem;
}

.charmValueBox .charmValue i,
.charmValueBox .charmValue input {
    float: left;
}

.charmValueBox .charmValue input {
    width: .6rem;
    height: .36rem;
    line-height: .36rem;
    text-align: center;

}

.charmValueBox .charmValue i {
    display: inline-block;
    width: 0.36rem;
    height: 0.36rem;
    background: url(./img/creation_salert_add@2x.png) center no-repeat;
    background-size: .36rem .36rem;
}

.charmValueBox .charmValue i:first-child {
    background: url(./img/creation_salert_minu@2x.png) center no-repeat;
    background-size: .36rem .36rem;
}

.charmBtn {
    width: 100%;
    overflow: hidden;
    position: absolute;
    bottom: 0;
    left: 0;
    height: .8rem;
    line-height: .8rem;

}

#edge-saveButton,
#edge-cancelButton {
    float: left;
    width: 50%;
    text-align: center;
    font-size: .26rem;
    color: #F1153A;
    height: .8rem;
    line-height: .8rem;
    background: #fff;
}

#edge-cancelButton {
    color: #888;
}

/* 自定义node 样式 */
.vid-diyNode {
    display: none;
    position: absolute;
    top: 0;
    width: 1.6rem;
    height: 1.52rem;
    font-size: .3rem;
    color: #fff;
    text-align: center;
    border: 1px dashed #888;
}

.vid-diyNode:active {
    border: 1px solid #888;
}

.vid-diyNode p {
    margin-top: .1rem;
}

.vid-diyNode span {
    display: inline-block;
    vertical-align: middle;
    width: 0.32rem;
    height: 0.24rem;
    background: url(img/creation_video_selected.png) no-repeat center;
    background-size: .32rem .24rem;
}